package InterfaceDemo;

public class AirConditioner implements Device{
    private String brand;

    public AirConditioner(String brand){
        this.brand = brand;
    }

    public void powerOn(){
        System.out.println(brand +"空调开机，制冷模式");

    }

    public void powerOff(){
        System.out.println(brand +"空调关机，以保存设置");
    }
    public void repair(){
        System.out.println(brand +"空调报修");
    }
}
